home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_sz
/
zeros
< prev
Wrap
Text File
|
1994-02-21
|
381b
|
23 lines
zeros:
Syntax: zeros ( nrow, ncol )
zeros ( A )
Description:
Zeros returns a matrix with all zero elements. If the
arguments are two scalars, then zeros returns a matrix with
dimensions S1xS2.
If the argument is a MATRIX, then zeros returns a matrix with
dimensions m[1] by m[2].
Examples:
> zeros( 3 , 3 )
> A = rand(10,4);
> B = zeros( size(A) )
See Also: size